package com.swm.resource;

import java.net.URI;
import java.util.ArrayList;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriInfo;


import com.sun.jersey.spi.resource.Singleton;
import com.swm.model.Movie;
import com.swm.model.MovieList;

@Path("/scraper")
@Singleton
public class ScraperResource {
    
    public ScraperResource() {
    	System.out.println("==ScraperResource Created==");
    }

    @GET
    @Produces("application/xml")
    public Movie getMovie() {
    	System.out.println("==GET movie==");
    	
    	Movie movie = new Movie();
    	
    	
    	
        return movie;
    }
    
}